package com.chixing.day03_oop;

public class StudentTest {
    public static void main(String[] args) {
        /*
        1.new : 创建对象，开辟一块堆内存
        2.构造函数：初始化对象

        */

        Student stu1 = new Student();
        stu1.setStuId(101);
        stu1.setStuName("林俊杰");


        Student stu2 = new Student(102,"蔡依林");

        System.out.println();

    }
}
